﻿@page "/cards"
@inject IStringLocalizer<Cards> Localizer

<h3>@Localizer["Title"]</h3>

<h4>@Localizer["SubTitle"]</h4>

<DemoBlock Title="@Localizer["BasicUsageTitle"]" Introduction="@Localizer["BasicUsageIntro"]" Name="Normal" Demo="typeof(Demos.Card.CardNormal)" />

<DemoBlock Title="@Localizer["FooterTitle"]" Introduction="@Localizer["FooterIntro"]" Name="Footer" Demo="typeof(Demos.Card.CardFooter)" />

<DemoBlock Title="@Localizer["IsCenterTitle"]" Introduction="@Localizer["IsCenterIntro"]" Name="IsCenter" Demo="typeof(Demos.Card.CardIsCenter)" />

<DemoBlock Title="@Localizer["ColorTitle"]" Introduction="@Localizer["ColorIntro"]" Name="Color" Demo="typeof(Demos.Card.CardColor)" />

<DemoBlock Title="@Localizer["CollapsibleTitle"]" Introduction="@Localizer["CollapsibleIntro"]" Name="Collapsible" Demo="typeof(Demos.Card.CardCollapsible)">
    <p>@((MarkupString)Localizer["CollapsibleIntroDesc"].Value)</p>
</DemoBlock>

<DemoBlock Title="@Localizer["CollapsibleHeaderTemplateTitle"]" Introduction="@Localizer["CollapsibleHeaderTemplateIntro"]" Name="HeaderTemplate" Demo="typeof(Demos.Card.CardHeaderTemplate)" />

<DemoBlock Title="@Localizer["ShadowTitle"]" Introduction="@Localizer["ShadowIntro"]" Name="Shadow" Demo="typeof(Demos.Card.CardShadow)" />

<DemoBlock Title="@Localizer["Compare"]" Name="Compare" Demo="typeof(Demos.Card.CardCompare)" />

<AttributeTable Items="GetAttributes()" />
